package org.jeecg.modules.text.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: box_text
 * @Author: jeecg-boot
 * @Date:   2023-05-27
 * @Version: V1.0
 */
@Data
@TableName("box_text")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="box_text对象", description="box_text")
public class BoxText implements Serializable {
    private static final long serialVersionUID = 1L;

	/**ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "ID")
    private Integer id;
	/**标题*/
	@Excel(name = "标题", width = 15)
    @ApiModelProperty(value = "标题")
    private String title;
	/**文本类别*/
	@Excel(name = "文本类别", width = 15, dicCode = "yn")
	@Dict(dicCode = "yn")
    @ApiModelProperty(value = "文本类别")
    private String type;
	/**是否公共配置，非公共配置加标识才可见*/
	@Excel(name = "是否公共配置，非公共配置加标识才可见", width = 15)
    @ApiModelProperty(value = "是否公共配置，非公共配置加标识才可见")
    @TableField(value = "public")
    private Integer publiz;
	/**排序权重，降序*/
	@Excel(name = "排序权重，降序", width = 15)
    @ApiModelProperty(value = "排序权重，降序")
    private Integer weigh;
	/**更新时间*/
    @ApiModelProperty(value = "更新时间")
    private Integer updateTime;
	/**说明*/
	@Excel(name = "说明", width = 15)
    @ApiModelProperty(value = "说明")
    @TableField(value = "`desc`")
    private String desc;
	/**文本内容*/
	@Excel(name = "文本内容", width = 15)
    @ApiModelProperty(value = "文本内容")
    @TableField(value = "`text`")
    private String text;
}
